package com.zyb.beiojbackendjudgeservice.strategy;


import com.zyb.beiojmodel.model.codesandbox.ExecuteCodeResponse;
import com.zyb.beiojmodel.model.dto.question.QuestionJudgeCase;
import com.zyb.beiojmodel.model.entity.Question;
import com.zyb.beiojmodel.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * @author 十八岁讨厌编程
 * @date 2025/2/11 11:54
 * @PROJECT_NAME beioj-backend
 * @description
 */

@Data
public class StrategyContext {

    /**
     * 代码沙箱执行返回结果
     */
    private ExecuteCodeResponse executeCodeResponse;

    /**
     * 题目的判题用例
     */
    private List<QuestionJudgeCase> questionJudgeCaseList;

    /**
     * 用于拿到题目中的相关信息（例如JudgeConfig）进行判题
     */
    private Question question;

    /**
     * 用于在Manager中判断提交的语言，从而选择策略
     */
    private QuestionSubmit questionSubmit;


}
